package com.solution.form;

import java.util.List;

import org.apache.struts.validator.ValidatorActionForm;

import com.solution.model.CategoryType;
import com.solution.model.ExamCategoryLevelMapping;
import com.solution.model.ExamType;
import com.solution.model.LevelType;
public class ExamForm extends ValidatorActionForm{

	private static final long serialVersionUID = 1L;
	
	private String exam_id;
	private boolean is_updatable = true;
	private String exam_name;
	private String exam_description;
	private String exam_time_hr;
	private String exam_time_min;
	private String status;
	private List<CategoryType> categories;
	private List<LevelType> levels;
	private String question_category_id[];
	private String question_level_id[];
	private Long category_id;
	private Long level_id;
	private Long question_count[];
	private String passing_marks;
	private List<ExamCategoryLevelMapping> examCategoryLevelMappingList;
	
	// Screen Navigation specific parameters.
	private String screen_type;
	private String show_list;
	
	// for displaying the search results.
	private List<ExamType> exam_list;

	public String getExam_id() {
		return exam_id;
	}

	public void setExam_id(String exam_id) {
		this.exam_id = exam_id;
	}

	public String getExam_name() {
		return exam_name;
	}

	public void setExam_name(String exam_name) {
		this.exam_name = exam_name;
	}

	public String getExam_description() {
		return exam_description;
	}

	public void setExam_description(String exam_description) {
		this.exam_description = exam_description;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getScreen_type() {
		return screen_type;
	}

	public void setScreen_type(String screen_type) {
		this.screen_type = screen_type;
	}

	public String getShow_list() {
		return show_list;
	}

	public void setShow_list(String show_list) {
		this.show_list = show_list;
	}

	public List<ExamType> getExam_list() {
		return exam_list;
	}

	public void setExam_list(List<ExamType> exam_list) {
		this.exam_list = exam_list;
	}

	public List<CategoryType> getCategories() {
		return categories;
	}

	public void setCategories(List<CategoryType> categories) {
		this.categories = categories;
	}

	public List<LevelType> getLevels() {
		return levels;
	}

	public void setLevels(List<LevelType> levels) {
		this.levels = levels;
	}

	public String[] getQuestion_category_id() {
		return question_category_id;
	}

	public void setQuestion_category_id(String[] question_category_id) {
		this.question_category_id = question_category_id;
	}

	public Long[] getQuestion_count() {
		return question_count;
	}

	public void setQuestion_count(Long[] question_count) {
		this.question_count = question_count;
	}

	public String[] getQuestion_level_id() {
		return question_level_id;
	}

	public void setQuestion_level_id(String[] question_level_id) {
		this.question_level_id = question_level_id;
	}

	public String getExam_time_hr() {
		return exam_time_hr;
	}

	public void setExam_time_hr(String exam_time_hr) {
		this.exam_time_hr = exam_time_hr;
	}

	public String getExam_time_min() {
		return exam_time_min;
	}

	public void setExam_time_min(String exam_time_min) {
		this.exam_time_min = exam_time_min;
	}

	public List<ExamCategoryLevelMapping> getExamCategoryLevelMappingList() {
		return examCategoryLevelMappingList;
	}

	public void setExamCategoryLevelMappingList(
			List<ExamCategoryLevelMapping> examCategoryLevelMappingList) {
		this.examCategoryLevelMappingList = examCategoryLevelMappingList;
	}

	public boolean getIs_updatable() {
		return is_updatable;
	}

	public void setIs_updatable(boolean is_updatable) {
		this.is_updatable = is_updatable;
	}

	public Long getCategory_id() {
		return category_id;
	}

	public void setCategory_id(Long category_id) {
		this.category_id = category_id;
	}

	public Long getLevel_id() {
		return level_id;
	}

	public void setLevel_id(Long level_id) {
		this.level_id = level_id;
	}

	public String getPassing_marks() {
		return passing_marks;
	}

	public void setPassing_marks(String passing_marks) {
		this.passing_marks = passing_marks;
	}

}
